package P1400;

import java.util.Scanner;

/**
 * @author: zhouyang
 * @descrpition:
 * @time: 2019-10-12 10:33
 */
public class P1426_小鱼会有危险吗 {
    public static void main(String[] args) {
        Scanner scanner = new Scanner(System.in);
        int s = scanner.nextInt();
        int x = scanner.nextInt();
        scanner.close();
        double distance = 0d;
        double remain = 7d;
        while(true){
            if(distance <= x+s && distance >= s-x){
                distance += remain;
                if(distance <= x+s && distance >= s-x){
                    System.out.println("y");
                    return ;
                }else{
                    System.out.println("n");
                    return;
                }
            }else {
                distance += remain;
            }
            remain *= 0.98;
        }
    }
}
